<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
    <style>
        img {
            width: 100px;
            height: 80px;
            padding: 20px 50px;

        }

        div {
            border: 2px solid black;
            width: 200px;
            height: 120px;
            margin: 50px 30px;
        }
    </style>
</head>

<body>
    <div>
        <img src="../从0到1css/css属性/img/girl.gif" alt="123">

    </div>
</body>

</html>